package com.hmdp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_shop_rates")
public class ShopRates {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商户id
     */
    private Long shopId;


    /**
     * 综合评价
     */
    private Float overall;

    /**
     * 口味评价
     */
    private Float taste;

    /**
     * 环境评分
     */
    private Float environment;

    /**
     * 服务评分
     */
    private Float service;

    /**
     * 打分人数
     */
    private Integer counts;

    /**
     * 人数*5
     */
    private Integer allScore;
}
